# Contributor: guddaff <guddaff@protonmail.com>
# Maintainer: guddaff <guddaff@protonmail.com>
pkgname=dehydrated
pkgver=0.7.1
pkgrel=0
pkgdesc="shellscript letsencrypt/acme client"
options="!check" #there are no checks
url="https://github.com/dehydrated-io/dehydrated"
arch="noarch"
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/dehydrated-io/dehydrated/archive/refs/tags/v$pkgver.tar.gz"

package() {
	install -Dm755 dehydrated "$pkgdir"/usr/bin/dehydrated
	install -Dm644 docs/examples/config "$pkgdir"/etc/dehydrated/config
	install -Dm644 docs/examples/domains.txt "$pkgdir"/etc/dehydrated/domains.txt
}

sha512sums="
1d584c3876cdc1ef213b2feb02e15d2b47ef2b6504e8a837ad45d9d14929a82de28bee7395a75659721ae18bd8f26f4f2759ad8eaef66c671c7085c9859f6555  dehydrated-0.7.1.tar.gz
"
